﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace _1.VersionAttribute
{
    [AttributeUsage(AttributeTargets.Method)]
    class VersionAttribute : System.Attribute
    {
        private string versionName;
        private string optionalText;

        public VersionAttribute(string versionName)
        {
            this.versionName = versionName;
        }

        public string OptionalText
        {
            get { return optionalText; }
            set { optionalText = value; }
        }

        public string VersionName
        {
            get { return versionName; }
            set { versionName = value; }
        }
    }
}
